# Overwrites!

living_standard_ego_assimilation = {
	in_breach_of = {
		{
			trigger = {
				is_gestalt = yes
			}
			key = resolution_greatergood_universal_prosperity_mandate
		}
	}

	pop_group_modifier = {
		pop_happiness = -0.50
	}

	potential = {
		NOR = {
			has_trait = trait_latent_psionic
			has_trait = trait_psionic
			has_trait = trait_mechanical
			has_trait = trait_machine_unit
		}
		exists = from
		from = {
			is_hive_empire = yes
			can_perform_genetic_assimilation = yes
			OR = {
				has_tradition = tr_genetics_creation
				has_civic = civic_lv_nymphic_hosts
				has_civic = civic_lv_propagating_throng
				has_civic = civic_lv_brood_swarm
			}
			NOT = { has_civic = civic_hive_devouring_swarm }
		}
	}

	allow = {
		hidden_trigger = { exists = from }
		custom_tooltip = {
			fail_text = SPECIES_MUST_BE_ASSIMILATING
			has_citizenship_type = {
				type = citizenship_assimilation
				country = from
			}
		}
	}

	ai_will_do = {
		factor = 100
	}
}

###